package jiekou;


import java.util.ArrayList;

public class Studentsinfo {
 ArrayList<Students> students=new ArrayList<Students>();
private  Studentjiekou x1=new fangan2();

public Studentsinfo (){
    students.add(new Students("张三","男",99));
    students.add(new Students("张四","女",100));
    students.add(new Students("张五","男",90));
    students.add(new Students("张六","女",80));
}
public void allStudent(){
    x1.test1(students);

}
public void averagescore(){
    x1.test2(students);
}





}
